package shootingtactics.client.core.bullet;

import shootingtactics.client.core.DrawingCore;
import shootingtactics.client.core.enemy.BaseEnemy;

import com.google.gwt.canvas.dom.client.Context2d;
import com.google.gwt.canvas.dom.client.CssColor;

public class BaseBullet extends DrawingCore{

    public double baseSpeed;

    public double speedX;

    public double speedY;

    public BaseEnemy targetEnemy;

    public BaseBullet(double posX, double posY, String drawType, CssColor drawColor, Context2d bulletContext){
        super(posX, posY, drawType, drawColor, bulletContext);
    }

    public void setNextPosition(){
       position.setPosition(position.getPositionX() + speedX, position.getPositionY() + speedY);
    }

    public void updateSpeed(){

    }

}
